package javax.generic.swing;

import javax.swing.table.DefaultTableModel;

public class ReadOnlyTableModel extends DefaultTableModel {

	private static final long serialVersionUID = -3367107608593326392L;

	public ReadOnlyTableModel(Object[] columnNames) {
		super(columnNames, columnNames.length);
	}

	@Override
	public boolean isCellEditable(int row, int col) {
		return false;
	}

}
